package com.xq.config;

import com.xq.utils.SwaggerUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * swagger配置类
 * @version 0.1.0
 * @author wuven
 * @since 0.1.0
 * @date 2025/6/30 16:28
 **/

@Configuration
@EnableSwagger2
public class SwaggerConfig {

    @Bean
    Docket ExportmanaApi(){
        return SwaggerUtils.defaultDocketBuilder("全部接口", "com.xq.controller", "全部接口");
    }

}
